.payment-container {
  padding: 20rpx;
}

.payment-card {
  background: #fff;
  border-radius: 24rpx;
  box-shadow: 0 8rpx 24rpx rgba(0, 82, 217, 0.12);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.payment-header {
  padding: 64rpx 48rpx 48rpx;
  text-align: center;
  background: linear-gradient(135deg, #0052d9 0%, #1a6fff 100%);
  color: white;
  position: relative;
}

.payment-header::after {
  content: '';
  position: absolute;
  bottom: -40rpx;
  left: 0;
  right: 0;
  height: 80rpx;
  background: #fff;
  border-radius: 50% 50% 0 0;
}

.payment-header.success {
  background: linear-gradient(135deg, #07c160 0%, #2bd471 100%);
}

/* 返回按钮样式 */
.back-button {
  position: absolute;
  top: 32rpx;
  left: 32rpx;
  display: flex;
  align-items: center;
  padding: 16rpx 24rpx;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 40rpx;
  transition: all 0.3s ease;
}

.back-button:active {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0.95);
}

.back-icon {
  font-size: 36rpx;
  font-weight: bold;
  margin-right: 8rpx;
  line-height: 1;
}

.back-text {
  font-size: 28rpx;
  opacity: 0.9;
}

.payment-label {
  font-size: 32rpx;
  opacity: 0.9;
  margin-bottom: 32rpx;
  margin-top: 20rpx;
}

.payment-amount {
  font-size: 80rpx;
  font-weight: 700;
  margin: 0 0 16rpx;
  letter-spacing: -1rpx;
}

.order-number {
  font-size: 28rpx;
  opacity: 0.8;
  margin: 0;
  padding: 16rpx 32rpx;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 40rpx;
  display: inline-block;
}

.payment-notice {
  background: #f0f6ff;
  border-radius: 16rpx;
  padding: 32rpx;
  margin: 64rpx 48rpx 48rpx;
  display: flex;
  align-items: center;
  border-left: 8rpx solid #0052d9;
}

.notice-icon {
  width: 40rpx;
  height: 40rpx;
  background: #0052d9;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 24rpx;
  font-size: 24rpx;
  flex-shrink: 0;
}

.notice-text {
  font-size: 28rpx;
  color: #0052d9;
  line-height: 1.5;
}

.payment-details {
  padding: 0 48rpx 48rpx;
}

.detail-title {
  font-size: 32rpx;
  font-weight: 600;
  margin-bottom: 40rpx;
  color: #333;
  display: flex;
  align-items: center;
}

.detail-title::before {
  content: '';
  width: 8rpx;
  height: 32rpx;
  background: #0052d9;
  margin-right: 16rpx;
  border-radius: 4rpx;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32rpx;
  font-size: 30rpx;
  padding-bottom: 24rpx;
  border-bottom: 1rpx dashed #f0f0f0;
}

.detail-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.detail-label {
  color: #666;
  display: flex;
  align-items: center;
}

.payment-icon {
  width: 40rpx;
  height: 40rpx;
  margin-right: 16rpx;
  border-radius: 8rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24rpx;
}

.wechat-icon {
  background: #07c160;
  color: white;
}

.balance-icon {
  background: #ff6b35;
  color: white;
}

.detail-value {
  color: #333;
  font-weight: 500;
}

.total-amount {
  border-top: 1rpx solid #f0f0f0;
  padding-top: 32rpx;
  margin-top: 32rpx;
  font-weight: 600;
  color: #333;
  font-size: 32rpx;
}

.payment-footer {
  padding: 40rpx 48rpx 48rpx;
  background-color: #fafafa;
  border-top: 1rpx solid #f0f0f0;
}

.confirm-button {
  width: 100%;
  height: 96rpx;
  font-size: 32rpx;
  font-weight: 500;
  border-radius: 16rpx;
  background: linear-gradient(135deg, #0052d9 0%, #1a6fff 100%);
  color: white;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 8rpx 24rpx rgba(0, 82, 217, 0.3);
}

.confirm-button:active {
  transform: translateY(0);
  box-shadow: 0 4rpx 16rpx rgba(0, 82, 217, 0.4);
}

.confirm-button.paying {
  background: linear-gradient(135deg, #8a9ba8 0%, #a7b6c2 100%);
  box-shadow: 0 8rpx 24rpx rgba(138, 155, 168, 0.3);
}

.success-message {
  text-align: center;
  padding: 80rpx 48rpx;
  color: #07c160;
}

.success-icon {
  font-size: 96rpx;
  margin-bottom: 32rpx;
}

.success-text {
  font-size: 36rpx;
  font-weight: 500;
  margin-bottom: 16rpx;
}

.order-info {
  font-size: 28rpx;
  color: #666;
  margin-top: 16rpx;
}

/* 成功页面操作按钮 */
.success-actions {
  display: flex;
  gap: 24rpx;
  margin-top: 48rpx;
  justify-content: center;
}

.action-button {
  flex: 1;
  height: 80rpx;
  font-size: 28rpx;
  border-radius: 16rpx;
  border: none;
  transition: all 0.3s ease;
  max-width: 200rpx;
}

.action-button.primary {
  background: linear-gradient(135deg, #07c160 0%, #2bd471 100%);
  color: white;
  box-shadow: 0 4rpx 12rpx rgba(7, 193, 96, 0.3);
}

.action-button.secondary {
  background: #f5f7fa;
  color: #666;
  border: 1rpx solid #e0e0e0;
}

.action-button:active {
  transform: scale(0.98);
}